# -*- coding: utf-8 -*-
"""
Created on Fri Mar 29 10:24:59 2024

@author: heyuesong
"""
# import requests
# headers = {
#     "Pragma": "no-cache",
#     "Origin": "https://www.python-spider.com",
#     "Accept-Language": "zh-CN,zh;q=0.9",
#     "Sec-WebSocket-Key": "FcjEniuSTpoat8fgF40ltw==",
#     "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
#     "Upgrade": "websocket",
#     "Cache-Control": "no-cache",
#     "Connection": "Upgrade",
#     "Sec-WebSocket-Version": "13",
#     "Sec-WebSocket-Extensions": "permessage-deflate; client_max_window_bits"
# }
# cookies = {
#     "Hm_lvt_337e99a01a907a08d00bed4a1a52e35d": "1712802174",
#     "no-alert": "true",
#     "sessionid": "x7ljozdpx21gspz4mtjzi01qggei6r8r",
#     "m": "pua",
#     "Hm_lpvt_337e99a01a907a08d00bed4a1a52e35d": "1713514740"
# }
# url = "wss://www.python-spider.com/api/challenge61"
# response = requests.get(url, headers=headers, cookies=cookies)

# print(response.text)
# print(response)


